'use strict';

module.exports = {
  up: function (queryInterface, Sequelize) {
    if (process.env.NODE_ENV === 'production') {
      return queryInterface.sequelize.query('ALTER TABLE customer_services DROP FOREIGN KEY customer_services_ibfk_1;');
    }
    /*
     Add altering commands here.
     Return a promise to correctly handle asynchronicity.

     Example:
     return queryInterface.createTable('users', { id: Sequelize.INTEGER });
     */
  },

  down: function (queryInterface, Sequelize) {
    /*
     Add reverting commands here.
     Return a promise to correctly handle asynchronicity.

     Example:
     return queryInterface.dropTable('users');
     */
  }
};
